package com.dgut.finaldemo.service;

import com.dgut.finaldemo.entity.Teacher;
import com.dgut.finaldemo.vo.DataVO;

public interface TeacherService {
    DataVO<Teacher> findData(Integer page,Integer limit);
    void addTeacher(Teacher teacher);
    Teacher queryTeacherById(Integer tid);
    void updateTeacher(Teacher teacher);
    void deleteTeacherById(Integer tid);
    DataVO<Teacher> searchTeacher(Integer page,Integer limit,Teacher teacher);
    Teacher queryTeacherByUsername(String username);
}
